const state = {
  menuList: []
}

const mutations = {
  BREAD_ADD (state, obj) {
    state.menuList.push(obj)
  },
  BREAD_REMOVE (state, num) {
    state.menuList.splice(num, state.menuList.length - num)
  }
}
export default {
  state,
  mutations
}
